package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆对象 pub_vehicle
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class PubVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属公司ID */
    @Excel(name = "所属公司ID")
    private String ownerCompanyId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlateNumber;

    /** 企业自编号 */
    @Excel(name = "企业自编号")
    private String companyPlateNumber;

    /** 车辆上线日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "车辆上线日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onlineDate;

    /** 车辆营运证号 */
    @Excel(name = "车辆营运证号")
    private String operationCertificateNumber;

    /** 营运证有效期 (年数) */
    @Excel(name = "营运证有效期 (年数)")
    private Long operatingPeriod;

    /** 灭火弹到期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "灭火弹到期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date extinguisherExpiryDate;

    /** 是否包含自动爆裂装置 */
    @Excel(name = "是否包含自动爆裂装置")
    private Integer automaticExplosiveDevice;

    /** 防火锤数量 */
    @Excel(name = "防火锤数量")
    private Long numberOfFireHammer;

    /** 安全锤数量 */
    @Excel(name = "安全锤数量")
    private Long numberOfSafetyHammer;

    /** 是否包含消防细水雾 */
    @Excel(name = "是否包含消防细水雾")
    private Integer fireFog;

    /** 驾驶室类型 */
    @Excel(name = "驾驶室类型")
    private Long cabTypeId;

    /** 车辆踏步等级 */
    @Excel(name = "车辆踏步等级")
    private Long stepGradeId;

    /** 是否有广告屏 */
    @Excel(name = "是否有广告屏")
    private Integer adLed;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOwnerCompanyId(String ownerCompanyId) 
    {
        this.ownerCompanyId = ownerCompanyId;
    }

    public String getOwnerCompanyId() 
    {
        return ownerCompanyId;
    }
    public void setLicensePlateNumber(String licensePlateNumber) 
    {
        this.licensePlateNumber = licensePlateNumber;
    }

    public String getLicensePlateNumber() 
    {
        return licensePlateNumber;
    }
    public void setCompanyPlateNumber(String companyPlateNumber) 
    {
        this.companyPlateNumber = companyPlateNumber;
    }

    public String getCompanyPlateNumber() 
    {
        return companyPlateNumber;
    }
    public void setOnlineDate(Date onlineDate) 
    {
        this.onlineDate = onlineDate;
    }

    public Date getOnlineDate() 
    {
        return onlineDate;
    }
    public void setOperationCertificateNumber(String operationCertificateNumber) 
    {
        this.operationCertificateNumber = operationCertificateNumber;
    }

    public String getOperationCertificateNumber() 
    {
        return operationCertificateNumber;
    }
    public void setOperatingPeriod(Long operatingPeriod) 
    {
        this.operatingPeriod = operatingPeriod;
    }

    public Long getOperatingPeriod() 
    {
        return operatingPeriod;
    }
    public void setExtinguisherExpiryDate(Date extinguisherExpiryDate) 
    {
        this.extinguisherExpiryDate = extinguisherExpiryDate;
    }

    public Date getExtinguisherExpiryDate() 
    {
        return extinguisherExpiryDate;
    }
    public void setAutomaticExplosiveDevice(Integer automaticExplosiveDevice) 
    {
        this.automaticExplosiveDevice = automaticExplosiveDevice;
    }

    public Integer getAutomaticExplosiveDevice() 
    {
        return automaticExplosiveDevice;
    }
    public void setNumberOfFireHammer(Long numberOfFireHammer) 
    {
        this.numberOfFireHammer = numberOfFireHammer;
    }

    public Long getNumberOfFireHammer() 
    {
        return numberOfFireHammer;
    }
    public void setNumberOfSafetyHammer(Long numberOfSafetyHammer) 
    {
        this.numberOfSafetyHammer = numberOfSafetyHammer;
    }

    public Long getNumberOfSafetyHammer() 
    {
        return numberOfSafetyHammer;
    }
    public void setFireFog(Integer fireFog) 
    {
        this.fireFog = fireFog;
    }

    public Integer getFireFog() 
    {
        return fireFog;
    }
    public void setCabTypeId(Long cabTypeId) 
    {
        this.cabTypeId = cabTypeId;
    }

    public Long getCabTypeId() 
    {
        return cabTypeId;
    }
    public void setStepGradeId(Long stepGradeId) 
    {
        this.stepGradeId = stepGradeId;
    }

    public Long getStepGradeId() 
    {
        return stepGradeId;
    }
    public void setAdLed(Integer adLed) 
    {
        this.adLed = adLed;
    }

    public Integer getAdLed() 
    {
        return adLed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ownerCompanyId", getOwnerCompanyId())
            .append("licensePlateNumber", getLicensePlateNumber())
            .append("companyPlateNumber", getCompanyPlateNumber())
            .append("onlineDate", getOnlineDate())
            .append("operationCertificateNumber", getOperationCertificateNumber())
            .append("operatingPeriod", getOperatingPeriod())
            .append("extinguisherExpiryDate", getExtinguisherExpiryDate())
            .append("automaticExplosiveDevice", getAutomaticExplosiveDevice())
            .append("numberOfFireHammer", getNumberOfFireHammer())
            .append("numberOfSafetyHammer", getNumberOfSafetyHammer())
            .append("fireFog", getFireFog())
            .append("cabTypeId", getCabTypeId())
            .append("stepGradeId", getStepGradeId())
            .append("adLed", getAdLed())
            .toString();
    }
}
